package com.boc.ewr.bcimp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 保存上传成功的文件信息
 * @Author: jeecg-boot
 * @Date:   2023-04-24
 * @Version: V1.0
 */
@Data
@TableName("ewr_batchupload_info")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ewr_batchupload_info对象", description="保存上传成功的文件信息")
public class EwrBatchuploadInfo implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**文件MD5值*/
	@Excel(name = "文件MD5值", width = 15)
    @ApiModelProperty(value = "文件MD5值")
    private String biMd5;
	/**文件业务类型*/
	@Excel(name = "文件业务类型", width = 15)
    @ApiModelProperty(value = "文件业务类型")
    private String biType;
	/**文件业务名称*/
	@Excel(name = "文件业务名称", width = 15)
    @ApiModelProperty(value = "文件业务名称")
    private String biName;
	/**文件业务临时存放路径*/
	@Excel(name = "文件业务临时存放路径", width = 15)
    @ApiModelProperty(value = "文件业务临时存放路径")
    private String biPath;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private String createName;
}
